Use 0777 as the mode for mkdir() and let the umask do the right thing.
authorFederico Mena Quintero <federico@ximian.com>
Tue, 6 Jan 2004 20:34:47 +0000 (20:34 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Tue, 6 Jan 2004 20:34:47 +0000 (20:34 +0000)
2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
0777 as the mode for mkdir() and let the umask do the right
thing.  Fixes #121819.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilesel.c

index 08bd8e14771c3e40c879fd144d76389fcef45051..7bd2b368434237106efcef7e1230162a1d9c5a9c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
+       0777 as the mode for mkdir() and let the umask do the right
+       thing.  Fixes #121819.
+
        * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
        can return NULL; handle this.  Fixes #129565.
 
index 08bd8e14771c3e40c879fd144d76389fcef45051..7bd2b368434237106efcef7e1230162a1d9c5a9c 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
+       0777 as the mode for mkdir() and let the umask do the right
+       thing.  Fixes #121819.
+
        * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
        can return NULL; handle this.  Fixes #129565.
 
index 08bd8e14771c3e40c879fd144d76389fcef45051..7bd2b368434237106efcef7e1230162a1d9c5a9c 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
+       0777 as the mode for mkdir() and let the umask do the right
+       thing.  Fixes #121819.
+
        * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
        can return NULL; handle this.  Fixes #129565.
 
index 08bd8e14771c3e40c879fd144d76389fcef45051..7bd2b368434237106efcef7e1230162a1d9c5a9c 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
+       0777 as the mode for mkdir() and let the umask do the right
+       thing.  Fixes #121819.
+
        * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
        can return NULL; handle this.  Fixes #129565.
 
index 08bd8e14771c3e40c879fd144d76389fcef45051..7bd2b368434237106efcef7e1230162a1d9c5a9c 100644 (file)
@@ -1,5 +1,9 @@
 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
 
+       * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
+       0777 as the mode for mkdir() and let the umask do the right
+       thing.  Fixes #121819.
+
        * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
        can return NULL; handle this.  Fixes #129565.
 
index 5253578d10d27173c9579d52ed036e5c8f73319e..3962e4394dee71a437c49ff3809454a7ef5524da 100644 (file)
@@ -1445,7 +1445,7 @@ gtk_file_selection_create_dir_confirmed (GtkWidget *widget,
       goto out;
     }
 
-  if (mkdir (sys_full_path, 0755) < 0) 
+  if (mkdir (sys_full_path, 0777) < 0)
     {
       buf = g_strdup_printf (_("Error creating folder \"%s\": %s\n"), dirname,
                             g_strerror (errno));